Anyone here write in C#

Kinja'd!!! "Nibbles" (nibbles)
04/06/2016 at 14:06 • Filed to: too lazy to google it myself, c#, lern2codenub

Kinja'd!!!1 Kinja'd!!! 22

If so, could you point me in the direction of good resources for learning/applying? I’m heavy PowerShell and need to start converting my “applications” into applications. Have a car for your time

Kinja'd!!!

DISCUSSION (22)


Kinja'd!!! CalzoneGolem > Nibbles
04/06/2016 at 14:11

Kinja'd!!!0

What are you doing in powershell?


Kinja'd!!! JawzX2, Boost Addict. 1.6t, 2.7tt, 4.2t > Nibbles
04/06/2016 at 14:13

Kinja'd!!!0

I have the same “problem” with bash scripts.... I actually have (internal) web-applications written and deployed entirely as bash scripts.... I mean we have low demand and most (not all) of what I’m doing isn’t highly processor intensive, so I used what I knew ;)


Kinja'd!!! RamblinRover Luxury-Yacht > Nibbles
04/06/2016 at 14:13

Kinja'd!!!0

The extent of my knowledge of C# is that most compilers use Unicode, hence deep trollery has been suggested:

Kinja'd!!!


Kinja'd!!! Nibbles > CalzoneGolem
04/06/2016 at 14:15

Kinja'd!!!0

I’ve automated so much of my previous team’s work it’s not even funny. Automated server builds, application deployment and update, etc etc etc. I need to turn it from an “executable” (.PS1 scripts called by .BAT [to bypass execution policy] obfuscated through a Bat2Exe converter) into an actual application. I’ve been working in C# with a colleague but it’s moving slow and I need to GIT GUD.


Kinja'd!!! Nibbles > RamblinRover Luxury-Yacht
04/06/2016 at 14:16

Kinja'd!!!0

Nooooo.....


Kinja'd!!! Nibbles > JawzX2, Boost Addict. 1.6t, 2.7tt, 4.2t
04/06/2016 at 14:17

Kinja'd!!!0

It’s a good starting point. It helped me go from an admin into an engineer but now I need to actually be an engineer and not just an over-glorified script kiddie

Oh gof I just said that. Swore I’d never be one of them


Kinja'd!!! JawzX2, Boost Addict. 1.6t, 2.7tt, 4.2t > Nibbles
04/06/2016 at 14:19

Kinja'd!!!1

I’m an manufacturing/printing operations manager. If we had ACTUAL I.T. support I wouldn’t even be doing this. :P


Kinja'd!!! RamblinRover Luxury-Yacht > Nibbles
04/06/2016 at 14:20

Kinja'd!!!0

Dickery is best when it’s elegant like that.


Kinja'd!!! CalzoneGolem > Nibbles
04/06/2016 at 14:21

Kinja'd!!!0

I’ve been working with C# mostly with webform automation and db stuff. I’m pretty new to it. I find it kinda annoying.


Kinja'd!!! Nibbles > CalzoneGolem
04/06/2016 at 14:22

Kinja'd!!!0

What kind of db stuff? My work is a lot of db stuff. What resources have you been using to learn?


Kinja'd!!! CalzoneGolem > Nibbles
04/06/2016 at 14:31

Kinja'd!!!1

Well if you know SQL it works like most other things and just runs sql commands.

I think this is a pretty decent overview : https://msdn.microsoft.com/en-us/library/…


Kinja'd!!! Nibbles > CalzoneGolem
04/06/2016 at 14:35

Kinja'd!!!0

Noice, this’ll come in handy :)


Kinja'd!!! Phyrxes once again has a wagon! > Nibbles
04/06/2016 at 14:58

Kinja'd!!!0

Just to add to what CalzoneGolem posted:

https://blogs.msdn.microsof t.com/kebab/2014/04/28/executing-powershell-scripts-from-c/

YMMV, I only know enough to be dangerous


Kinja'd!!! Mattbob > Nibbles
04/06/2016 at 15:11

Kinja'd!!!0

your not a l33t hax0r? Just a script kiddie? I bet you cheat in counterstrike too.


Kinja'd!!! Nibbles > Mattbob
04/06/2016 at 16:06

Kinja'd!!!1

What the fuck did you just fucking type about me, you little bitch? I’ll have you know I graduated top of my class at MIT, and I’ve been involved in numerous secret raids with Anonymous, and I have over 300 confirmed DDoSes. I am trained in online trolling and I’m the top hacker in the entire world. You are nothing to me but just another virus host. I will wipe you the fuck out with precision the likes of which has never been seen before on the Internet, mark my fucking words. You think you can get away with typing that shit to me over the Internet? Think again, fucker. As we chat over Kinja I am tracing your IP with my damn bare hands so you better prepare for the storm, maggot. The storm that wipes out the pathetic little thing you call your computer. You’re fucking dead, kid. I can be anywhere, anytime, and I can hack into your files in over seven hundred ways, and that’s just with my bare hands. Not only am I extensively trained in hacking, but I have access to the entire arsenal of every piece of malware ever created and I will use it to its full extent to wipe your miserable ass off the face of the world wide web, you little shit. If only you could have known what unholy retribution your little “clever” comment was about to bring down upon you, maybe you would have held your fucking fingers. But you couldn’t, you didn’t, and now you’re paying the price, you goddamn idiot. I will shit code all over you and you will drown in it. You’re fucking dead, kiddo


Kinja'd!!! Nibbles > Phyrxes once again has a wagon!
04/06/2016 at 16:07

Kinja'd!!!0

I’m using a good bit of that example in my application actually.


Kinja'd!!! BlurpleToyotaDishwasher > Nibbles
04/06/2016 at 16:47

Kinja'd!!!0

I’ve only really dabbled with C# (done more Java for that kind of thing), but if it’s your first go at that kind of language I’d suggest Code Complete. It’s a pretty general book, but it’s the kind of tips that make you go “oh, duh, of course that’s the sensible way of doing it” about so many little things that really add up over time.


Kinja'd!!! BlurpleToyotaDishwasher > BlurpleToyotaDishwasher
04/06/2016 at 16:47

Kinja'd!!!0

By general, I mean it’s not C# specific.


Kinja'd!!! Nibbles > BlurpleToyotaDishwasher
04/06/2016 at 16:53

Kinja'd!!!0

Noted! I’ll put that in my list of things to take a gander at


Kinja'd!!! BlurpleToyotaDishwasher > Nibbles
04/06/2016 at 17:20

Kinja'd!!!1

Don’t follow those videos though, it’s loaded with raw sql containing unescaped strings. (Like I said before, I dunno too much about C# specifically, so the way it’s set up might well be best practice, but everything he’s doing with it is dumb). Always use properly parameterised inputs.

(Sorry for telling you the obvious if you’ve done plenty of db stuff before but its not clear from your post whether it’s programming with databases or just how to do it with c# that’s new)


Kinja'd!!! Nibbles > BlurpleToyotaDishwasher
04/06/2016 at 17:22

Kinja'd!!!0

I got ya. I’m definitely not new to databases, just new to C# itself. I haven’t coded since high school when I fucked around in C++.


Kinja'd!!! valsidalv, reminding you that infiniti is an option > Nibbles
04/06/2016 at 18:22

Kinja'd!!!1

This is a great site I use quite a bit even to this day when I just forget that one C# construct...

http://www.dotnetperls.com/